const state = {
    categoryItem: null,
    active: 0
}

// mutations
const mutations = {
    changeCategory(state, item) {
        state.categoryItem = item
    },
    changeAcive(state, index) {
        state.active = index
    }
}

// actions
const actions = {

}

// getters
const getters = {

}



export default {
    namespaced: true,
    state,
    getters,
    actions,
    mutations
}